import type {FormRules} from 'naive-ui'

/**
 * 角色信息表单验证规则
 */
export const RoleFormRules: FormRules = {
  name: {
    required: true,
    message: '请输入角色名称',
    trigger: 'blur'
  },
  code: {
    required: true,
    message: '请输入角色编码',
    trigger: 'blur'
  },
  description: {
    required: true,
    message: '请输入角色描述',
    trigger: 'blur'
  }
} 